package com.jwgf.mqtt;

import com.alibaba.fastjson.JSONObject;

public interface MqttAction {
    public interface InputKeys{
        public static final String GUID = "消息GUID";
        public static final String TIME = "服务器时间";
        public static final String TYPE = "消息类型";
        public static final String RANGE = "数据范围";
        public static final String KEY = "id";
        public static final String VALUE = "value";
    }

    public interface InputValues{
        public static final String TYPE = "设置数据";
        public static final String RANGE_ALL = "整车";
        public static final String RANGE_GROUP = "组";

    }

    public interface OutputKeys{
        public static final String GUID = "消息GUID";
        public static final String TIME = "机台时间";
        public static final String TYPE = "消息类型";
        public static final String MACHINE_ID = "机台ID";
        public static final String KEY = "id";
        public static final String VALUE = "value";
    }

    public interface OutputValues{
        public static final String TYPE = "设置数据返回";
    }

    void action(JSONObject object);
}
